<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "DTD/xhtml1-strict.dtd">
<html>
  <head>
    <title>navistore.backend.restkit.util.oauth2.Consumer : API documentation</title>
    <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
    <link href="apidocs.css" type="text/css" rel="stylesheet" />
    
    
  </head>
  <body>
    <h1 class="class">n.b.r.u.o.Consumer(<span title="object">object</span>) : class documentation</h1>
    <p>
      <span id="part">Part of <a href="navistore.html">navistore</a>.<a href="navistore.backend.html">backend</a>.<a href="navistore.backend.restkit.html">restkit</a>.<a href="navistore.backend.restkit.util.html">util</a>.<a href="navistore.backend.restkit.util.oauth2.html">oauth2</a></span>
      
      <a href="classIndex.html#navistore.backend.restkit.util.oauth2.Consumer">View In Hierarchy</a>
    </p>
    <div>
      
    </div>
    <div>A consumer of OAuth-protected services.</p>
<p>The OAuth consumer is a &quot;third-party&quot; service that wants to 
access protected resources from an OAuth service provider on behalf of an 
end user. It's kind of the OAuth client.</p>
<p>Usually a consumer must be registered with the service provider by the 
developer of the consumer software. As part of that process, the service 
provider gives the consumer a *key* and a *secret* with which the consumer 
software can identify itself to the service. The consumer will include its 
key in each request to identify itself, but will use its secret only when 
signing requests, to prove that the request is from that particular 
registered consumer.</p>
<p>Once registered, the consumer can then use its consumer credentials to 
ask the service provider for a request token, kicking off the OAuth 
authorization process.<table class="fieldTable"></table></div>

    
    
    <div id="splitTables">
      <table class="children sortable" id="id112">
  
  
<tr class="method">
    
    
    <td>Method</td>
    <td><a href="navistore.backend.restkit.util.oauth2.Consumer.html#__init__">__init__</a></td>
    <td><span class="undocumented">Undocumented</span></td>
  </tr><tr class="method">
    
    
    <td>Method</td>
    <td><a href="navistore.backend.restkit.util.oauth2.Consumer.html#__str__">__str__</a></td>
    <td><span class="undocumented">Undocumented</span></td>
  </tr>
  
</table>
      
      
    </div>
    
    
    

    <div class="function">
  <a name="navistore.backend.restkit.util.oauth2.Consumer.__init__">
    
  </a>
  <a name="__init__">
    
  </a>
  <div class="functionHeader">
    
    def
    __init__(self, key, secret):
    
  </div>
  <div class="functionBody">
    
    <div class="undocumented">Undocumented</div>
  </div>
</div><div class="function">
  <a name="navistore.backend.restkit.util.oauth2.Consumer.__str__">
    
  </a>
  <a name="__str__">
    
  </a>
  <div class="functionHeader">
    
    def
    __str__(self):
    
  </div>
  <div class="functionBody">
    
    <div class="undocumented">Undocumented</div>
  </div>
</div>
    <address>
      <a href="index.html">API Documentation</a> for navistore, generated by <a href="http://codespeak.net/~mwh/pydoctor/">pydoctor</a> at 2010-11-13 15:44:55.
    </address>
  </body>
</html>